#ifndef CSIGNALAPPLICATION_H_
#define CSIGNALAPPLICATION_H_

#include <QApplication>
#include <QSharedMemory>

class CSingleApplication : public QApplication
{
public:
	CSingleApplication(int &argc, char **argv);
	~CSingleApplication();

	bool Lock();

private:
	QSharedMemory* singular_; // shared memory !! SINGLE ACCESS
};

#endif // CSIGNALAPPLICATION_H_